﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DA;


namespace Businis
{
    public class monhocBUS
    {
        danhsachmonhoc mhda = new danhsachmonhoc() ;
        
        public List<MONHOC> layallmonhoc()
        {
            return mhda.layallmonhoc();
        }
        public bool ktramonhoc(MONHOC mh)
        {
            if (mhda.ktramonhoc(mh) == true)
            {
                return true;
            }
            return false;
        }

        public void them(MONHOC mh)
        {
            mhda.themmonhoc(mh);
        }
        public void xoa(MONHOC mh)
        {
            mhda.xoamonhoc(mh);
        }
        public void sua(MONHOC mh)
        {
            mhda.suamonhoc(mh);
        }     
    }
}
